package server;

import game.Player;

import org.json.JSONException;
import org.json.JSONObject;

public abstract class PacketInterpreter {

	private Player player;
	
	public PacketInterpreter(Player player) {
		this.player = player;
	}
	
	public Player getPlayer() {
		return this.player;
	}
	
	public abstract void interpret(JSONObject data) throws JSONException;

}
